package tgc.edu.examxy.service;

import java.util.List;
import java.util.UUID;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Service;

import tgc.edu.examxy.custom.CommonService;
import tgc.edu.examxy.entity.AskForleave;
import tgc.edu.examxy.repository.AskForleaveRepository;
@Service
public class AskForleaveService extends CommonService<AskForleave, UUID>{
	@Autowired
	private AskForleaveRepository dao;
	
	public List<AskForleave> findByStudentId(UUID id, Sort sort) {
		return dao.findByStudentId(id,sort);
	}
	
}
